package com.supcon.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.supcon.entity.User;
import com.supcon.mapper.UserMapper;
import com.supcon.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author BeautifulHao
 * @description
 * @create 2019-04-25 15:17
 **/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    @Override
    public IPage<User> selectUserPage(Page page, QueryWrapper<User> wrapper) {
        return baseMapper.selectPage(page,wrapper);
    }
}
